package org.jeecg.modules.car.service.impl;

import org.jeecg.entity.car.CarUrlConfig;
import org.jeecg.modules.car.mapper.CarUrlConfigMapper;
import org.jeecg.modules.car.service.ICarUrlConfigService;
import org.springframework.stereotype.Service;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;

/**
 * @Description: 车场公共平台接口地址配置
 * @Author: jeecg-boot
 * @Date:   2021-06-16
 * @Version: V1.0
 */
@Service
public class CarUrlConfigServiceImpl extends ServiceImpl<CarUrlConfigMapper, CarUrlConfig> implements ICarUrlConfigService {

    @Override
    public CarUrlConfig getByUrlType(String parkId, Integer urlType) {
        return baseMapper.getByUrlType(parkId,urlType);
    }

    @Override
    public void updateSyncStatus(String id, Boolean syncStatus) {
        baseMapper.updateSyncStatus(id,syncStatus);
    }
}
